package com.hst.capacity.application.biz.impl;

import com.hst.capacity.application.biz.MemberBiz;
import com.hst.capacity.domain.model.entity.member.MemberEntity;
import com.hst.capacity.domain.service.MemberService;
import com.hst.capacity.infra.persistence.jpa.member.MemberRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class MemberBizImpl implements MemberBiz {

    @Autowired
    private MemberService memberService;

    @Override
    public MemberEntity findByMemberAccount(String mobile) {
        return memberService.findByMemberAccount(mobile);
    };

}
